package com.zx.oa.service.major;

import com.zx.oa.dao.major.MajorDao;
import com.zx.oa.dao.major.MajorDaoImpl;
import com.zx.oa.entity.Major;

import java.util.List;

public class MajorServiceImpl implements MajorService{

    MajorDao majorDao=new MajorDaoImpl();

    @Override
    public List<Major> getMajorAll() {
        return majorDao.getMajorAll();
    }
}
